﻿using MachineVision.Domain;
using MachineVision.Service.Dto;

namespace MachineVision.Service
{
    public interface ITokenService
    {
        Token_YunMou GetTokenFromDB();
        bool SetToken(string Token, DateTime EXTime);
        Token_YunMou GetTokenFromURL(string token_url, string client_id, string client_secret);
        string GetVideo(string video_url, string accessToken, string deviceSerial,int channelNo, string protocol);
        string GetVideoHistory(string video_url, string accessToken, string deviceSerial,int channelNo, string protocol, int type, string start,string end);
        string GetUIKit(string uikit_url, string accessToken, string deviceSerial, int channelNo);
    }
}